RankMath\WooCommerce\Product_Redirection S

Total Complexity 32
Dependencies 4
Dependents 1
Total lines 162
Lines of code 90
Logical lines of code 52
Comment lines 48
Methods 8
Properties 0

Methods 8

Method Rating Maintainability Complexity Lines of code
get_redirection_url()
A
48 9 29
can_redirect()
S
59 8 13
is_amp_endpoint()
S
77 4 3
get_source_url()
S
59 3 13
__construct()
S
68 2 7
pre_redirection()
S
66 2 9
redirect()
S
71 2 6
strip_ignored_parts()
S
63 2 10